package com.yy.web.pm.operateExamine.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * 存档表
 */
@ApiModel(description = "存档表")
public class FileData implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 操作人员
     */
    @ApiModelProperty(value = "操作人员")
    private String operatePeopele;

    /**
     * 操作决策
     */
    @ApiModelProperty(value = "操作决策")
    private String operateDecision;

    /**
     * 操作结果
     */
    @ApiModelProperty(value = "操作结果 处理状态 0:未处理 1：已处理 2：已取消 3:勒令整改 4:拆除")
    private String operateResult;

    /**
     * 操作事件id
     */
    @ApiModelProperty(value = "操作事件id")
    private String operateEventId;

    /**
     * 操作时间
     */
    @ApiModelProperty(value = "操作时间")
    private Date operateTime;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("id", id)
                .append("operatePeopele", operatePeopele)
                .append("operateDecision", operateDecision)
                .append("operateResult", operateResult)
                .append("operateEventId", operateEventId)
                .append("operateTime", operateTime)
                .append("createdBy", createdBy)
                .append("createdTime", createdTime)
                .append("updatedBy", updatedBy)
                .append("updatedTime", updatedTime)
                .toString();
    }

    public FileData(Integer id, String operatePeopele, String operateDecision, String operateResult, String operateEventId, Date operateTime, String createdBy, Date createdTime, String updatedBy, Date updatedTime) {
        this.id = id;
        this.operatePeopele = operatePeopele;
        this.operateDecision = operateDecision;
        this.operateResult = operateResult;
        this.operateEventId = operateEventId;
        this.operateTime = operateTime;
        this.createdBy = createdBy;
        this.createdTime = createdTime;
        this.updatedBy = updatedBy;
        this.updatedTime = updatedTime;
    }

    public FileData() {
    }

    public Integer getId() {
        return id;
    }

    public FileData setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getOperatePeopele() {
        return operatePeopele;
    }

    public FileData setOperatePeopele(String operatePeopele) {
        this.operatePeopele = operatePeopele;
        return this;
    }

    public String getOperateDecision() {
        return operateDecision;
    }

    public FileData setOperateDecision(String operateDecision) {
        this.operateDecision = operateDecision;
        return this;
    }

    public String getOperateResult() {
        return operateResult;
    }

    public FileData setOperateResult(String operateResult) {
        this.operateResult = operateResult;
        return this;
    }

    public String getOperateEventId() {
        return operateEventId;
    }

    public FileData setOperateEventId(String operateEventId) {
        this.operateEventId = operateEventId;
        return this;
    }

    public Date getOperateTime() {
        return operateTime;
    }

    public FileData setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
        return this;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public FileData setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
        return this;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public FileData setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
        return this;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public FileData setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
        return this;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public FileData setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
        return this;
    }
}
